/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.arg.deploy.webapp.common;

/**
 *
 * @author kasidit
 */
public class Validation {

    public static final Integer VALIDATION_ID_REQUIRE = 1;
    public static final Integer VALIDATION_ID_COMPAREVALUE = 2;
    public static final Integer VALIDATION_ID_CAPTCHA = 3;
    public static final Integer VALIDATION_ID_COMPARESTARTDATE = 4;
    public static final Integer VALIDATION_ID_PASSWORD = 5;
    public static final Integer VALIDATION_ID_REGULAREXPRESSIONS = 6;
    public static final Integer VALIDATION_ID_COMPARELENGHT = 7;

    public Validation(Integer id) {
        this.id = id;
    }
    private Integer id;
    private String message;
    private Boolean value;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Boolean getValue() {
        return value;
    }

    public void setValue(Boolean value) {
        this.value = value;
    }
}
